ci(e2e): pin emulator versions and fix Azurite compatibility#725
Merged
ci(e2e): pin emulator versions and fix Azurite compatibility#725
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
4e06fe9 to
ab944e4
Compare
Pin all e2e test emulator images to specific SHA256 digests to ensure immutability and prevent unexpected breakage from upstream changes: - Azurite (Azure): 3.35.0 @sha256:647c63a9... - MinIO (S3): RELEASE.2025-09-07T16-13-09Z @sha256:14cea493... - fake-gcs-server (GCS): 1.52.3 @sha256:666f86b8... All pinned SHAs match the current :latest tag, ensuring we're using the same images that were previously tested. Updated renovate configuration to track digest-based updates while preserving version information in comments for context. Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
ab944e4 to
d589729
Compare
The custom regex manager wasn't detecting emulator image dependencies in test/e2e/internal/objectstore/ because Renovate's default ignorePaths blocks test directories. Removed the `**/test/**` pattern while keeping other sensible defaults to allow scanning test files. Also fixed the regex pattern to handle the multi-line format where renovate comments span three lines, and corrected all managerFilePatterns to use the proper `/pattern$/` format. Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
The PostgreSQL container images install Python dependencies without pinning versions. When azure-storage-blob 12.28.0 was released on January 6, 2026, it introduced API version 2026-02-06 which Azurite 3.35.0 doesn't support yet. Adding the --skipApiVersionCheck flag allows Azurite to accept any API version, which is appropriate for test environments and prevents failures when Azure SDK libraries are updated. Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
NiccoloFei
approved these changes
Jan 12, 2026
sxd
approved these changes
Jan 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pin all e2e test emulator images to specific SHA256 digests to ensure immutability and prevent unexpected breakage from upstream changes.
The three emulators (Azurite for Azure, MinIO for S3, and fake-gcs-server for GCS) were previously using the :latest tag, which could cause test failures when new versions with breaking changes or bugs were released.
Using SHA256 digests instead of version tags provides immutability (ensures we always pull the exact same image), transparency (easy to verify what's running via digest comparison), and Renovate compatibility (can still track and propose updates). All pinned SHAs match the current :latest tag, confirming we're using the same images that were previously tested.
Updated Renovate configuration to track digest-based updates while preserving version information in comments for human readability. Fixed Renovate to scan test directories and handle multi-line regex patterns for .go files.
Also fixed Azurite compatibility issue by adding the --skipApiVersionCheck flag. Tests were failing because the PostgreSQL container images install Python dependencies without version pinning, which resulted in azure-storage-blob 12.28.0 (released January 6, 2026) being installed. This version uses API version 2026-02-06 which Azurite 3.35.0 doesn't support yet. The flag allows Azurite to accept any API version in the test environment.
Note that MinIO is now in maintenance mode and will not receive further updates, but it has been included for completeness.